import request from '@/utils/request'

export function generateRandomCandidates() {
   return request({
     url: '/candidates/random',
     method: 'get'
   })
 }
 
 export function reorderCandidates(candidates) {
   return request({
     url: '/candidates/reorder',
     method: 'post',
     data: candidates
   })
 }
